

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<script type="text/javascript" src="helpman_topicinit.js"></script>

<title>Attribute Values - stylex &amp; pdata [Enterprise Architect User Guide]</title>

<meta name="keywords" content="Enterprise Architect, Sparx Systems, UML, Diagram,Diagram Profile Attributes, PData and StyleEx,PDATA,PDATA Diagram Profile Attribute Values,StyleEx,StyleEx Diagram Profile Attribute Values,Attribute,Attribute PData &amp; StyleEx, Diagram Profiles">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Style-Type" content="text/css" />

<link type="text/css" href="default.css" rel="stylesheet" />
<style type="text/css">
  A, A:Visited
  {
    color: #00F;
  }

  A:Active, A:Hover
  {
    color: #F00;
  }

  OL
  {
    margin: 5px 0 5px 48px;
  }

  UL
  {
    margin-bottom: 3px;
    margin-top: 0;
  }

  #nsr
  {
    background-color: #D4DFFF;
  }

  #nsr A
  {
    text-decoration: none;
  }

  #mainbody
  {
    padding: 8px;
  }

  .p_BodyText
  {
    padding: 5px 0;
  }
</style>



<style type="text/css" media="screen">
  BODY
  {
    background-color: #FFFFFF;
  }

  #nsr
  {
    padding: 6px 6px 0 6px;
    border-bottom: none;
    vertical-align: top;
    z-index: 2;
    visibility: visible;
    left: 0;
    top: 0;
    position: absolute;
  }

  #mainbody
  {
    left: 0;
    top: 0;
    margin: 0;
    position: absolute;
    padding: 10px;
    overflow: auto;
    height: 100%;
    z-index: 1;
    background-repeat: no-repeat;
    background-position: bottom right;
    background-attachment: fixed;
  }
</style>

<style type="text/css" media="print">
  #nsr
  {
    visibility: none;
  }

  #mainbody
  {
    overflow: visible;
  }
</style>
<script type="text/javascript" language="JavaScript" src="nonscroll.js"></script>

</head>
<body scroll="no">

<div id="page">



        <div id="content">
          <div id="content-inner">
          



  
          <div id="nsr">
            <table border="0" cellspacing="0" cellpadding="4" width="100%">
              <tr valign="top">
                <td align="left">
  


                  <p class="p_Heading1"><span class="f_Heading1">Attribute Values - stylex &amp; pdata</span></p>



  
                </td>
                <td align="right">
                  <a href="introduction.htm" onmouseover="document.images.main.src='button_main_h.gif'" onmouseout="document.images.main.src='button_main.gif'">
                    <img name="main" src="button_main.gif" border=0 alt="Return to Introduction">
                  </a>&nbsp;
    
                  <a href="built_in_diagram_types.htm" onmouseover="document.images.prev.src='button_prev_h.gif'" onmouseout="document.images.prev.src='button_prev.gif'">
                    <img name=prev src="button_prev.gif" border=0 alt="Previous page" />
                  </a>&nbsp;
    
    
    
                  <a href="custom_task_panes.htm" onmouseover="document.images.next.src='button_next_h.gif'" onmouseout="document.images.next.src='button_next.gif'">
                    <img name=next src="button_next.gif" border=0 alt="Next page" />
                  </a>
    
    
                </td>
              </tr>
            </table>
          </div>
          <div id="mainbody">
  


                <p class="p_BodyText"><span class="f_BodyText">When creating a diagram profile, you can use the </span><span class="f_BodyText" style="font-style: italic;">pdata</span><span class="f_BodyText"> and </span><span class="f_BodyText" style="font-style: italic;">stylex</span><span class="f_BodyText"> attributes to define a range of characteristics of the diagrams created with the profile. If the attribute is defining several characteristics at once, put the values in a single string separated by semicolons. For example:</span></p>
<p class="p_BodyText"><span class="f_BodyText" style="font-style: italic;">styleEx: string = HideQuals=0;AdvanceElementProps=1;ShowNotes=1;</span></p>
<p class="p_SubHeadingL2"><span class="f_SubHeadingL2">styleex: string =</span></p>
<ul style="text-indent: 0px; margin-left: 30px; list-style-position: outside;">
<li><span class="f_Bulletlist1" style="font-style: italic;">TConnectorNotation=Option;</span><span class="f_Bulletlist1"> (where </span><span class="f_Bulletlist1" style="font-style: italic;">Option</span><span class="f_Bulletlist1"> is one of </span><span class="f_Bulletlist1" style="font-weight: bold;">UML 2.1, IDEF1X,</span><span class="f_Bulletlist1"> or </span><span class="f_Bulletlist1" style="font-weight: bold;">Information Engineering</span><span class="f_Bulletlist1">)</span></li>
<li><span class="f_Bulletlist1" style="font-style: italic;">ShowAsList=1; </span><span class="f_Bulletlist1">(to make the diagram open directly into the </span><span class="f_UIControl"><a href="reportview.htm">Element List</a></span><span class="f_Bulletlist1">)</span></li>
</ul>
<ul style="text-indent: 0px; margin-left: 30px; list-style-position: outside;">
<li><span class="f_Bulletlist1" style="font-style: italic;">AdvanceElementProps=1;</span><span class="f_Bulletlist1"> (to show the element property string)</span></li>
<li><span class="f_Bulletlist1" style="font-style: italic;">ShowTests=1; </span><span class="f_Bulletlist1">(to show the element Testing compartment)</span></li>
<li><span class="f_Bulletlist1" style="font-style: italic;">ShowMaint=1; </span><span class="f_Bulletlist1">(to show the element Maintenance compartment)</span></li>
<li><span class="f_Bulletlist1" style="font-style: italic;">ShowNotes=1;</span><span class="f_Bulletlist1"> (to show the element Notes compartment)</span></li>
<li><span class="f_Bulletlist1" style="font-style: italic;">HideQuals=0; </span><span class="f_Bulletlist1">(to show qualifiers and visibility indicators)</span></li>
<li><span class="f_Bulletlist1" style="font-style: italic;">AdvancedFeatureProps=1; </span><span class="f_Bulletlist1">(to show the feature property string)</span></li>
<li><span class="f_Bulletlist1" style="font-style: italic;">ShowOpRetType=1; </span><span class="f_Bulletlist1">(to show the operation return type)</span></li>
<li><span class="f_Bulletlist1" style="font-style: italic;">SuppressBrackets=1; </span><span class="f_Bulletlist1">(to suppress brackets on operations without parameters)</span></li>
<li><span class="f_Bulletlist1" style="font-style: italic;">AttPkg=1; </span><span class="f_Bulletlist1">(to show package visible class members)</span></li>
<li><span class="f_Bulletlist1" style="font-style: italic;">VisibleAttributeDetail=1; </span><span class="f_Bulletlist1">(to show attribute details on the diagram)</span></li>
<li><span class="f_Bulletlist1" style="font-style: italic;">TExplicitNavigability=1;</span><span class="f_Bulletlist1"> (to show non-navigable connector ends)</span></li>
<li><span class="f_Bulletlist1" style="font-style: italic;">AdvancedConnectorProps=1;</span><span class="f_Bulletlist1"> (to show connector property strings)</span></li>
<li><span class="f_Bulletlist1" style="font-style: italic;">SuppConnectorLabels=1;</span><span class="f_Bulletlist1"> (to suppress all connector labels).</span></li>
</ul>
<p class="p_BodyText"><span class="f_BodyText">&nbsp;</span></p>
<p class="p_SubHeadingL2"><span class="f_SubHeadingL2">pdata: string =</span></p>
<ul style="text-indent: 0px; margin-left: 30px; list-style-position: outside;">
<li><span class="f_Bulletlist1" style="font-style: italic;">UseAlias=1; </span><span class="f_Bulletlist1">(to use the aliases or elements in the diagram, if available)</span></li>
</ul>
<ul style="text-indent: 0px; margin-left: 30px; list-style-position: outside;">
<li><span class="f_Bulletlist1" style="font-style: italic;">HideParents=0;</span><span class="f_Bulletlist1"> </span><span class="f_Bulletlist1">(to show additional parents of elements in the diagram)</span></li>
<li><span class="f_Bulletlist1" style="font-style: italic;">HideEStereo=0; </span><span class="f_Bulletlist1">(to show element stereotypes in the diagram)</span></li>
<li><span class="f_Bulletlist1" style="font-style: italic;">ShowSN=1;</span><span class="f_Bulletlist1"> </span><span class="f_Bulletlist1">(to show sequence notes)</span></li>
<li><span class="f_Bulletlist1" style="font-style: italic;">ShowIcons=1; </span><span class="f_Bulletlist1">(to use stereotype icons)</span></li>
<li><span class="f_Bulletlist1" style="font-style: italic;">HideAtts=0; </span><span class="f_Bulletlist1">(to show the element Attributes compartment)</span></li>
<li><span class="f_Bulletlist1" style="font-style: italic;">HideOps=0; </span><span class="f_Bulletlist1">(to show the element Operations compartment)</span></li>
<li><span class="f_Bulletlist1" style="font-style: italic;">ShowTags=1;</span><span class="f_Bulletlist1"> (to show the element Tagged values compartment)</span></li>
<li><span class="f_Bulletlist1" style="font-style: italic;">ShowReqs=1; </span><span class="f_Bulletlist1">(to show the element Requirements compartment)</span></li>
<li><span class="f_Bulletlist1" style="font-style: italic;">ShowCons=1; </span><span class="f_Bulletlist1">(to show the element Constraints compartment)</span></li>
<li><span class="f_Bulletlist1" style="font-style: italic;">HideStereo=0;</span><span class="f_Bulletlist1"> (to show attribute and operation stereotypes)</span></li>
<li><span class="f_Bulletlist1" style="font-style: italic;">HideProps=0; </span><span class="f_Bulletlist1">(to show property methods)</span></li>
<li><span class="f_Bulletlist1" style="font-style: italic;">OpParams</span><span class="f_Bulletlist1">=3; (to show operation parameters)</span></li>
<li><span class="f_Bulletlist1" style="font-style: italic;">HideRel=0;</span><span class="f_Bulletlist1"> (to show relationships)</span></li>
<li><span class="f_Bulletlist1" style="font-style: italic;">SuppCN=0;(</span><span class="f_Bulletlist1">to show collaboration numbers).</span></li>
</ul>




            </div>
          </div>
        </div>



</div>


</body>
</html>
